building and curve